package thread.demo.arrayBlockingQueue;

import java.util.concurrent.ArrayBlockingQueue;

public class ArrayBlockingQueueTest001 {
  public static void main(String[] args) {
    ArrayBlockingQueue<Integer> queue = new ArrayBlockingQueue<>(2);
    System.out.println(queue.add(1));
    System.out.println(queue.add(2));
    
    System.out.println(queue.add(3));
  }
}
